package com.micookie.v2ex.api.inf;

import com.micookie.v2ex.api.APIConfig;
import com.micookie.v2ex.model.bean.Topic;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;

/**
 * Created by Administrator on 2016/10/28.
 */

public interface ITopicRequest {

    @GET(APIConfig.URL_TOPIC_LATEST)
    Call<List<Topic>> getTopicLatest();

    @GET(APIConfig.URL_TOPIC_HOT)
    Call<List<Topic>> getTopicHot();
}
